/*
 * XML Type:  PortModel
 * Namespace: http:///org/isistan/flabot/coremodel.ecore
 * Java type: org.isistan.flabot.coremodelEcore.PortModel
 *
 * Automatically generated - do not modify.
 */
package org.isistan.flabot.coremodelEcore;


/**
 * An XML PortModel(@http:///org/isistan/flabot/coremodel.ecore).
 *
 * This is a complex type.
 */
public interface PortModel extends org.isistan.flabot.coremodelEcore.NamedElementModel
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(PortModel.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sFBDCFB7615E0FAB3CF0394CF3AD1FE99").resolveHandle("portmodel5bc8type");
    
    /**
     * Gets array of all "properties" elements
     */
    org.isistan.flabot.coremodelEcore.Property[] getPropertiesArray();
    
    /**
     * Gets ith "properties" element
     */
    org.isistan.flabot.coremodelEcore.Property getPropertiesArray(int i);
    
    /**
     * Returns number of "properties" element
     */
    int sizeOfPropertiesArray();
    
    /**
     * Sets array of all "properties" element
     */
    void setPropertiesArray(org.isistan.flabot.coremodelEcore.Property[] propertiesArray);
    
    /**
     * Sets ith "properties" element
     */
    void setPropertiesArray(int i, org.isistan.flabot.coremodelEcore.Property properties);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "properties" element
     */
    org.isistan.flabot.coremodelEcore.Property insertNewProperties(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "properties" element
     */
    org.isistan.flabot.coremodelEcore.Property addNewProperties();
    
    /**
     * Removes the ith "properties" element
     */
    void removeProperties(int i);
    
    /**
     * Gets array of all "provideds" elements
     */
    org.isistan.flabot.coremodelEcore.InterfaceModel[] getProvidedsArray();
    
    /**
     * Gets ith "provideds" element
     */
    org.isistan.flabot.coremodelEcore.InterfaceModel getProvidedsArray(int i);
    
    /**
     * Returns number of "provideds" element
     */
    int sizeOfProvidedsArray();
    
    /**
     * Sets array of all "provideds" element
     */
    void setProvidedsArray(org.isistan.flabot.coremodelEcore.InterfaceModel[] providedsArray);
    
    /**
     * Sets ith "provideds" element
     */
    void setProvidedsArray(int i, org.isistan.flabot.coremodelEcore.InterfaceModel provideds);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "provideds" element
     */
    org.isistan.flabot.coremodelEcore.InterfaceModel insertNewProvideds(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "provideds" element
     */
    org.isistan.flabot.coremodelEcore.InterfaceModel addNewProvideds();
    
    /**
     * Removes the ith "provideds" element
     */
    void removeProvideds(int i);
    
    /**
     * Gets array of all "requireds" elements
     */
    org.isistan.flabot.coremodelEcore.InterfaceModel[] getRequiredsArray();
    
    /**
     * Gets ith "requireds" element
     */
    org.isistan.flabot.coremodelEcore.InterfaceModel getRequiredsArray(int i);
    
    /**
     * Returns number of "requireds" element
     */
    int sizeOfRequiredsArray();
    
    /**
     * Sets array of all "requireds" element
     */
    void setRequiredsArray(org.isistan.flabot.coremodelEcore.InterfaceModel[] requiredsArray);
    
    /**
     * Sets ith "requireds" element
     */
    void setRequiredsArray(int i, org.isistan.flabot.coremodelEcore.InterfaceModel requireds);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "requireds" element
     */
    org.isistan.flabot.coremodelEcore.InterfaceModel insertNewRequireds(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "requireds" element
     */
    org.isistan.flabot.coremodelEcore.InterfaceModel addNewRequireds();
    
    /**
     * Removes the ith "requireds" element
     */
    void removeRequireds(int i);
    
    /**
     * Gets array of all "component" elements
     */
    org.isistan.flabot.coremodelEcore.ComponentModel[] getComponentArray();
    
    /**
     * Gets ith "component" element
     */
    org.isistan.flabot.coremodelEcore.ComponentModel getComponentArray(int i);
    
    /**
     * Returns number of "component" element
     */
    int sizeOfComponentArray();
    
    /**
     * Sets array of all "component" element
     */
    void setComponentArray(org.isistan.flabot.coremodelEcore.ComponentModel[] componentArray);
    
    /**
     * Sets ith "component" element
     */
    void setComponentArray(int i, org.isistan.flabot.coremodelEcore.ComponentModel component);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "component" element
     */
    org.isistan.flabot.coremodelEcore.ComponentModel insertNewComponent(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "component" element
     */
    org.isistan.flabot.coremodelEcore.ComponentModel addNewComponent();
    
    /**
     * Removes the ith "component" element
     */
    void removeComponent(int i);
    
    /**
     * Gets the "components" attribute
     */
    java.lang.String getComponents();
    
    /**
     * Gets (as xml) the "components" attribute
     */
    org.apache.xmlbeans.XmlString xgetComponents();
    
    /**
     * True if has "components" attribute
     */
    boolean isSetComponents();
    
    /**
     * Sets the "components" attribute
     */
    void setComponents(java.lang.String components);
    
    /**
     * Sets (as xml) the "components" attribute
     */
    void xsetComponents(org.apache.xmlbeans.XmlString components);
    
    /**
     * Unsets the "components" attribute
     */
    void unsetComponents();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static org.isistan.flabot.coremodelEcore.PortModel newInstance() {
          return (org.isistan.flabot.coremodelEcore.PortModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.PortModel newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (org.isistan.flabot.coremodelEcore.PortModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static org.isistan.flabot.coremodelEcore.PortModel parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.PortModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.PortModel parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.PortModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static org.isistan.flabot.coremodelEcore.PortModel parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.PortModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.PortModel parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.PortModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static org.isistan.flabot.coremodelEcore.PortModel parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.PortModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.PortModel parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.PortModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static org.isistan.flabot.coremodelEcore.PortModel parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.PortModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.PortModel parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.PortModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static org.isistan.flabot.coremodelEcore.PortModel parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.PortModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.PortModel parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.isistan.flabot.coremodelEcore.PortModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static org.isistan.flabot.coremodelEcore.PortModel parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.PortModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.PortModel parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.PortModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static org.isistan.flabot.coremodelEcore.PortModel parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.PortModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static org.isistan.flabot.coremodelEcore.PortModel parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.isistan.flabot.coremodelEcore.PortModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.isistan.flabot.coremodelEcore.PortModel parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.isistan.flabot.coremodelEcore.PortModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.isistan.flabot.coremodelEcore.PortModel parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.isistan.flabot.coremodelEcore.PortModel) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
